Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eta support #353

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Eta support #353

wants to merge 2 commits into from

Conversation

rahulmutt
Copy link

Eta uses the java calling convention, so I've added it as a token to facilitate parsing of FFI imports/exports. Moreover, the FFI signatures allow class constraints so I changed the parsing of fspec to use truectype instead of truedtype. These changes do indeed work as was tested by running hlint (which depends on this) on Eta programs that were FFI heavy.

@mpickering
Copy link
Collaborator

Please add some tests and should this not be behind a pragma like JavaFFI to mirror JavascriptFFI?

@rahulmutt
Copy link
Author

Sure. About the extension, there's an open issue about that in the Eta repo right now. I can come back to this PR once that's done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants